<?php


namespace App\Models\Garbage;
use App\Models\Api\Files;
use Illuminate\Database\Eloquent\Model;


class GarbageEventFiles extends Model
{

    protected $table = 'garbage_event_files';
    protected $fillable = ['file_id','event_id'];

    function files()
    {
        return $this->belongsTo(Files::class,'file_id');
    }

    function file(){
        return $this->belongsTo(Files::class,'file_id');
    }

}